
import service from '../utils/request'

//查询所有商品
export function goods_list( payload = {} ){
    return service.get('/goods', payload );
}

//查询单个商品
export function goods_info( payload = {} ){
    return service.get('/goods/'+payload.id, { params: payload  } );
}